package ejb.book;

import javax.ejb.Local;
import javax.ejb.Stateless;

import ejb.GenericCRUDServiceEJB;
import entities.Book;


@Stateless
@Local(BookService.class)
public class BookServiceEJB extends GenericCRUDServiceEJB<Book> implements BookService{
//
//	@Override
//	public Book addBook(String title) {
//		Book book = new Book();
//		book.setTitle(title);
//		try {
//	      em.persist(book);
//	    } catch (Exception e) {
//	    	System.out.println(e.getMessage());
//	    }
//	    return book;
//	}


 
}
